package com.game
{
	import com.game.element.BaseElement;
	import com.interfaces.game.GlobalAPI;
	import com.interfaces.general.mangaer.IDispose;
	import com.interfaces.general.mangaer.ITick;
	
	public class BaseBuff implements ITick,IDispose
	{
		public var startTime:Number;//开始时间
		public var longTime:Number;//持续时间
		public var baseElement:BaseElement;
		
		public function BaseBuff()
		{
			GlobalAPI.tickManager.regeditTick(this);
		}
		
		public function useing(baseElement:BaseElement):void{
			
		}
		
		
		public function exce():void
		{
		}
		
		public function set tickPriority(priority:int):void
		{
		}
		
		public function get tickPriority():int
		{
			return 0;
		}
		
		public function dispose():void{
			GlobalAPI.tickManager.unRegeditTick(this);
		}
	}
}